package com.yfp.operation.mapper;

import com.yfp.operation.domain.WxGroupMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 *
 * @CreateDate: 2024/7/6 14:34
 * @UpdateUser:
 * @UpdateDate: 2024/7/6 14:34
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
public interface WxGroupMemberMapper {
    /**
     * 查询详情
     * @param id
     * @return
     */
    WxGroupMember getByIdAndGroupChatId(@Param("id") String id,@Param("groupChatId") String groupChatId);

    /**
     * 查询列表
     * @param wxGroupMember
     * @return
     */
    List<WxGroupMember> findList(WxGroupMember wxGroupMember);

    /**
     * 添加
     * @param wxGroupMember
     */
    void add(WxGroupMember wxGroupMember);

    /**
     * 编辑
     * @param wxGroupMember
     */
    void edit(WxGroupMember wxGroupMember);

    /**
     * 删除
     * @param groupChatId
     */
    void delByGroupChatId(String groupChatId);

    void updateStatus(String groupChatId);

}